package cn.itsource.campus.mapper;

import cn.itsource.campus.domain.Teacher;

import java.util.List;

public interface TeacherMapper {
    void save(Teacher teacher);

    void update(Teacher teacher);

    void delete(Long id);

    Teacher get(Long id);

    List<Teacher> getAll();

    void batchSave(List<Teacher> teachers);
}
